/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class EntryApproveStateEnum extends IntEnum
{
    public static final int NO_APPROVE_VALUE = 0;
    public static final int APPROVING_VALUE = 1;
    public static final int APPROVED_VALUE = 3;
    public static final int APPROVE_UNPASS_VALUE = 4;

    public static final EntryApproveStateEnum NO_APPROVE = new EntryApproveStateEnum("NO_APPROVE", NO_APPROVE_VALUE);
    public static final EntryApproveStateEnum APPROVING = new EntryApproveStateEnum("APPROVING", APPROVING_VALUE);
    public static final EntryApproveStateEnum APPROVED = new EntryApproveStateEnum("APPROVED", APPROVED_VALUE);
    public static final EntryApproveStateEnum APPROVE_UNPASS = new EntryApproveStateEnum("APPROVE_UNPASS", APPROVE_UNPASS_VALUE);

    /**
     * construct function
     * @param integer entryApproveStateEnum
     */
    private EntryApproveStateEnum(String name, int entryApproveStateEnum)
    {
        super(name, entryApproveStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static EntryApproveStateEnum getEnum(String entryApproveStateEnum)
    {
        return (EntryApproveStateEnum)getEnum(EntryApproveStateEnum.class, entryApproveStateEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static EntryApproveStateEnum getEnum(int entryApproveStateEnum)
    {
        return (EntryApproveStateEnum)getEnum(EntryApproveStateEnum.class, entryApproveStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(EntryApproveStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(EntryApproveStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(EntryApproveStateEnum.class);
    }
}